/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package gossipinator;

import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;

/**
 *
 * @author cox
 */
public interface IStorage {
        public boolean init();
        public boolean deinit();
        public boolean hasnext();
        public ByteArrayInputStream read();
        public boolean write(ByteArrayOutputStream outputStream, int index);
        public int count();
}
